package com.itheima.staticstudy;

public class Demo1 {
    int a=100;
    public void show(){
        System.out.println("父类方法");
    }

    public Demo1(int a) {
        this();
        this.a = a;
    }

    public Demo1() {
        super();
        System.out.println("使用this调用自己的无参构造方法");
        System.out.println("子类无参调用父类无参构造函数");

    }
}
